package net.haveraid.service;

import java.util.List;

import net.haveraid.data.Member;
import net.haveraid.data.Player;
import net.haveraid.data.Raid;
import net.haveraid.data.RaidCalendar;

import org.joda.time.Interval;


public interface RaidService {
	List<Raid> getAll();
	
	List<Raid> getAll(Interval range);

	void add(Raid raid);

	Raid get(Integer id);
	
	RaidCalendar getRaidCalendar();
	
	void signUpMember(Raid raid, Player player, Member.Type type);
	void signDownMember(Raid raid, Player player);
}
